export const state = {
    info:sessionStorage.getItem('isLogin')?JSON.parse(sessionStorage.getItem('isLogin')):{}
}
export const getters = {
    info({info}){
        return info
    }
}
export const mutations = {
    changeInfo(state,info){
        state.info=info
    }
}